# HUB 插件 - 配置文件
# 包含所有API相关常量和配置项

module HUB
  # 使用file_loaded?机制防止重复加载
  unless file_loaded?(__FILE__)
  # FileCodeBox API配置
  API_HOST = 'hub.cdsjcc.cn'
  API_PORT = 9117
  API_PATH = '/share/file/'
  API_URL = "http://#{API_HOST}:#{API_PORT}#{API_PATH}"
  
  API_SELECT_PATH = '/share/select'
  API_DOWNLOAD_PATH = '/share/download'
    
    # 标记此文件已加载
    file_loaded(__FILE__)
  end
end # module HUB 